package com.opencloud.ywt.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.opencloud.ywt.client.model.entity.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface BhyfBdbSportPersonMapper extends BaseMapper<BhyfBdbSportPerson> {
    List<BhyfXhbSportPersonComment> getSportPersonList(@Param("gid") Integer gid,@Param("personid") Integer personid, @Param("starttime") String starttime, @Param("endtime") String endtime);
    List<BhyfXhbSportClass> getSportClassList(@Param("gid") Integer gid,@Param("classid") Integer classid, @Param("starttime") String starttime, @Param("endtime") String endtime);
    List<BhyfXhbSportPersonCommentResult> getSportGradeList(@Param("gid") Integer gid,@Param("gradenum") Integer gradenum, @Param("starttime") String starttime, @Param("endtime") String endtime);
    List<BhyfBdbSportPerson> getSportPersonListByClass(@Param("gid") Integer gid,@Param("classid") Integer classid, @Param("sportdate") String sportdate);
}